﻿using System.Linq;
using Microsoft.AspNetCore.Mvc;
using MVC_Demo.Models;
using MVC_Demo.Models.DataBase;

namespace MVC_Demo.Controllers
{
    public class HomeController : Controller
    {
   

        [Route("/")]
        [Route("/index.html")]
        public IActionResult Index()
        {

            return View();
        }

        [Route("/Market.html")]
        public IActionResult Market()
        {
            return View();
        }

        [Route("/Detail.html")]
        public IActionResult Detail()
        {
            return View();
        }

        [Route("/About.html")]
        public IActionResult About()
        {
            return View();
        }

        [Route("/UserInfo.html")]
        public IActionResult UserInfo()
        {
            return View();
        }

    }
}
